import React, { Component } from 'react'
import routerConfig from './router/router.config'
import RouterIndex from './router'
import {BrowserRouter} from 'react-router-dom' 
import {Provider} from 'react-redux'
import store from './store'
export class App extends Component {
  render() {
    return (
        <Provider store={store}>
          <BrowserRouter>
            <RouterIndex routerConfig={routerConfig}></RouterIndex>
          </BrowserRouter>
        </Provider>
    )
  }
}

export default App
